﻿using System.Collections.Generic;
using System.Runtime.Serialization;

[DataContract]
public partial class Members
{
    [DataMember(Name = "results")]
    public List<Member> Items { get; set; }
    [DataMember]
    public object meta { get; set; }
}

[DataContract]
public partial class Member
{

    private long _memberId;

    [DataMember(Name = "state")]
    public string State { get; set; }
//    public Self self { get; set; }
    public string lang { get; set; }
    
    [DataMember(Name = "photo")]
    public Photo Photo { get; set; }
    
    [DataMember(Name = "city")]
    public string City { get; set; }
    
    [DataMember(Name = "country")]
    public string Country { get; set; }
    
    [DataMember(Name = "id")]
    public long Id { get { return _memberId; } set { _memberId = value; } }
    
    [DataMember(Name = "visited")]
    public long Visited { get; set; }

    public long joined { get; set; }

    [DataMember(Name = "name")]
    public string Name { get; set; }
    public OtherServices other_services { get; set; }
    public double lat { get; set; }

    public string Photo_url { get; set; }

    [DataMember(Name = "member_id")]
    public long MemberId { get { return _memberId; } set { _memberId = value; } }
    
    
}

public class Twitter
{
    public string identifier { get; set; }
}

public class Linkedin
{
    public string identifier { get; set; }
}

public class OtherServices
{
    public Twitter twitter { get; set; }
    public Linkedin linkedin { get; set; }
}


